﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VH.SharePoint.Api.MetaWeblog;
using VH.SharePoint.Api.Queries;

namespace VH.SharePoint.Api
{
    public abstract class CategoryRepository : IRepository<Category, String>
    {
        public abstract IEnumerable<Category> FindAll();
        public abstract IEnumerable<Category> FindAll(QueryConstraints<Category> constraints);
        public abstract Category Get(string id);
        public abstract void Create(Category entity);
        public abstract void Update(Category entity);
        public abstract void Delete(Category entity);
        public abstract void ValidateUser(string username, string password);
    }
}
